]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
gnome-shell.css: fix padding/alignment of menu toggle switches
authorDan Winship <danw@gnome.org>
Fri, 25 Mar 2011 14:59:45 +0000 (10:59 -0400)
committerDan Winship <danw@gnome.org>
Fri, 25 Mar 2011 22:55:06 +0000 (18:55 -0400)
We do not support scaling background-images, so setting the
toggle-switch size to anything other than the natural size of the
image just results in it getting padding, which makes it look
improperly aligned.

https://bugzilla.gnome.org/show_bug.cgi?id=645647

data/theme/gnome-shell.css

index 1909da9c0ffba6c5ba4399a66eb99d344fa6a130..1ae4165780d6a63a4a34c3cb8c15eaf111dda340 100644 (file)
@@ -167,8 +167,8 @@ StTooltip StLabel {
 
 /* Switches (to be used in menus) */
 .toggle-switch {
-    width: 4.5em;
-    height: 1.5em;
+    width: 65px;
+    height: 22px;
 }
 
 .toggle-switch-us {